package mop.util.sort;

import java.util.Comparator;
import java.util.List;

/**
 * Interface for sort algorithms
 * @author 	MOP Team 7
 */
public interface Sort<T> {
	
	/**
	 * Sort the list with given objects according to given comparator
	 * @param list			List with objects
	 * @param comparator	Compare objects with this comparator
	 * @return	Sorted list (small to large)
	 */
	public void sort(List<T> list,Comparator<T> comparator);
}
